package com.bocloud.cmp.driver.providers;

import com.bocloud.cmp.model.SnapshotModel;
import com.bocloud.common.model.BsmResult;

/**
 * 快照操作接口
 * 
 * @author weiwei
 *
 */
public interface SnapshotDriver extends Driver {

	/**
	 * 查询所有快照
	 * 
	 * @return
	 */
	public BsmResult list();

	/**
	 * 删除快照
	 * 
	 * @param model
	 * @return
	 */
	public BsmResult remove(SnapshotModel model);

	/**
	 * 快照详细
	 * 
	 * @param model
	 * @return
	 */
	public BsmResult detail(SnapshotModel model);

	/**
	 * 更新快照
	 * 
	 * @param model
	 * @return
	 */
	public BsmResult modify(SnapshotModel model);

	/**
	 * 恢复快照
	 * 
	 * @param model
	 * @return
	 */
	public BsmResult revert(SnapshotModel model);
}
